home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / ProcessClose.au3 < prev    next >
Text File  |  2007-09-08  |  156b  |  5 lines

  1. ProcessClose("notepad.exe")
  2.  
  3. $PID = ProcessExists("notepad.exe")    ; Will return the PID or 0 if the process isn't found.
  4. If $PID Then ProcessClose($PID)
  5.